package org.overmind.ieat.server.exceptions.provider;

/**
 * @author eugene.karanda
 */
public class ProviderFindException extends RuntimeException {
    private int requiredId;

    public ProviderFindException(int requiredId) {
        this.requiredId = requiredId;
    }

    public ProviderFindException(Throwable cause, int requiredId) {
        super(cause);
        this.requiredId = requiredId;
    }

    public int getRequiredId() {
        return requiredId;
    }
}
